package com.sinosoft.bee.services.cousumerwithfeign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author:TobbyQuinn
 * @date:2018/4/26
 * @project:bee
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@ComponentScan(basePackages = {"com."})
public class BeeConsumerWithFeignService {
    public static void main(String[] args) {
        SpringApplication.run(BeeConsumerWithFeignService.class,args);
    }
}
